package com.gradle.quartz.batch.service;

import com.gradle.bean.employee.Employee;

import java.util.List;

/**
 * @author ldanniel
 */
public interface EmployeeService {
    /**
     * 保存员工信息
     * @param employee
     */
    void save(Employee employee);
    /**
     * 保存员工信息
     * @param employee
     */
    void saveTemp(Employee employee);
    /**
     * 查询所有员工信息
     * @return
     */
    List<Employee> queryEmployeeInfo();

    /**
     * 50万数据初始化
     */
    void dataInit();
    void truncateEmployee();
    void truncateEmployeeTemp();
    int countEmployeeTemp();
}
